package model;

import java.util.List;

public class StudentProfile implements Comparable <StudentProfile> {

	
	private StudentClass studentClass;
	private int studentId;
	private double gpa;
	private String fullName;
	private List<Course> desiredCourses;
	private List<TimeSlot> desiredHours;
	
	public StudentProfile(){
		
	}
	public StudentProfile(String name, double gpa) {		
		
		fullName = name;
		this.gpa = gpa;
	}
	
	//getters-setters
	public StudentClass getStudentClass() {
		return studentClass;
	}
	public void setStudentClass(StudentClass studentClass) {
		this.studentClass = studentClass;
	}
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public List<Course> getDesiredCourses() {
		return desiredCourses;
	}
	public void setDesiredCourses(List<Course> desiredCourses) {
		this.desiredCourses = desiredCourses;
	}
	public List<TimeSlot> getDesiredHours() {
		return desiredHours;
	}
	public void setDesiredHours(List<TimeSlot> desiredHours) {
		this.desiredHours = desiredHours;
	}
	public double getGpa() {
		return gpa;
	}
	public void setGpa(double gpa) {
		this.gpa = gpa;
	}
	@Override
	public int compareTo(StudentProfile o) {
	
			return ((Double)gpa).compareTo((Double)o.gpa);	
	}
	
	
	
}
